home *** CD-ROM | disk | FTP | other *** search
- ;================================
- ; VPIC values
- ;================================
- VPIC_values = {
- 1 ; Chip version
- 0 ; 1: BT885, 0: PCI bus
- 0 ; 1: YUV 0: RGB
- 0 ; 1: dither on 0: dither off
- 0 ; 1: 24 bit 0: 16 bit
- 0 ; 1: 15bit/GBR 0: normal
- 0 ; 0: 33 Mhz 1: 16 Mhz pixel clock
- 0 ; 0: no address checking, 1:64K checking 2: 1M checking
- 1 ; VCP read/write timing, 0: no delay, 1: delay, 2: delay more
- 0 ; VCP DMA timing, 0: no delay, 1: delay
- 0 ; PCI master control 1: filter one cycle gnt
- 0 ; PCI master control 1: enable latency timer
- 1 ; Enable Screen, 1: Screen1, 2: Screen2
- 1024 ; Display map width
- 10 ; Screen 1 VCP output X starting
- 13 ; Screen 1 VCP output Y starting
- 352 ; Screen 1 Display width
- 288 ; Screen 1 Display height
- 0 ; Screen 1 Display orginal X0
- 0 ; Screen 1 Display orginal Y0
- 10 ; Screen 1 Mask 1 XL
- 100 ; Screen 1 Mask 1 XR
- 10 ; Screen 1 Mask 1 YU
- 100 ; Screen 1 Mask 1 YD
- 230 ; Screen 1 Mask 2 XL
- 330 ; Screen 1 Mask 2 XR
- 130 ; Screen 1 Mask 2 YU
- 230 ; Screen 1 Mask 2 YD
- 0 ; Screen 1 Mask enable
- 8 ; Screen 2 VCP output X starting
- 14 ; Screen 2 VCP output Y starting
- 352 ; Screen 2 Display width
- 240 ; Screen 2 Display height
- 300 ; Screen 2 Display orginal X0
- 300 ; Screen 2 Display orginal Y0
- 10 ; Screen 2 Mask 1 XL
- 100 ; Screen 2 Mask 1 XR
- 10 ; Screen 2 Mask 1 YU
- 100 ; Screen 2 Mask 1 YD
- 230 ; Screen 2 Mask 2 XL
- 330 ; Screen 2 Mask 2 XR
- 130 ; Screen 2 Mask 2 YU
- 230 ; Screen 2 Mask 2 YD
- 0 ; Screen 2 Mask enable
- }
-
- ;======================================================================
- ; Choice :
- ; 01. Dram size :
- ; HALF MEGA BYTE = 0x0
- ; ONE MEGA BYTE = 0x140
- l TWO MB = 0x40
- ; 02. Dram speed
- ; DRAM_SPD4T4T5T = 0x002a /* spd=4t, rasdel=4t, raspre=5t */
- ; DRAM_SPD4T2T3T = 0x0002 /* spd=4t, rasdel=2t, raspre=3t */
- ; DRAM_SPD3T3T4T = 0x0015 /* spd=3t, rasdel=3t, raspre=4t */
- ; DRAM_SPD3T2T3T = 0x0001 /* spd=3t, rasdel=2t, raspre=3t */
- ; DRAM_SPD2T2T3T = 0x0000 /* spd=2t, rasdel=2t, raspre=3t */
- ;======================================================================
-
-
- mpegdec_vcx_values = {
-
- _vcx_dram_config 0x22a
-
- ;======================================================================
- ; Put 0x1 if want to init dsp2101, example on dvc3 board
- ;======================================================================
- _vcx_init_dsp2101 0
- _vcx_dsp_2171 0
- _vcx_scn_mastermode 1
- _vcx_scn_hstart 10
- _vcx_scn_hend 362
- _vcx_scn_hscale 1
- _vcx_scn_horizontalamt 360
- _vcx_scn_hbstartval 363
- _vcx_scn_hbendval 10
- _vcx_scn_uvstartstop 0x2746
- _vcx_scn_ystartstop 0x2c55
- _vcx_scn_vstart 10
- _vcx_scn_vend 298
- _vcx_scn_vscale 1
- _vcx_scn_verticalamt 240
- _vcx_scn_vbstartval 243
- _vcx_scn_vbendval 3
- _vcx_scn_verticalirq 3
- ;======================================================================
- _vcx_scn_hsyncperiod 800
- ;=======================================================================
- _vcx_scn_hsyncwidth 2
- _vcx_scn_vsyncwidth 2
- _vcx_scn_vcsyncdelayed_even 1
- _vcx_bt885_hend_offset 400
- _vcx_scn_hincval 0x1000
- ;=================================================
- ; scn_hscalingoff <--- 0x0 for rev.3 silicon supporting scaling
- ; scn_hscalingoff <--- 0x1 for rev.2 silicon not supporting scaling
- ;=================================================================
- _vcx_scn_hscalingoff 0x0
- _vcx_scn_genlock 0x0
- _vcx_scn_dvc4_genlock 0x0
- _vcx_audio_volume 0x40
- _vcx_scn_display_rate 30
- _vcx_scn_width 352
- _vcx_scn_height 240
- _vcx_scn_voffset 0
- _vcx_scn_hoffset 0
- _vcx_scn_forced_horizontal 0
- _vcx_playvideo_only 0
- _vcx_scn_inv_sync 1
-
- ;======================================================================
- ; scn tap mode
- ; 0x0 <- 7 tap, for ntsc dvc3 board
- ; 0x4 <- 5 tap
- ; 0x8 <- 3 tap, for mpeg board only support rev.3 silcon
- ;======================================================================
- _vcx_scn_tapmode 0x8
-
- ;======================================================================
- ; To turn on clk1xmode, assign 0x2000, example for mpeg_board
- ;======================================================================
- _vcx_scn_clk1xmode 0x2000
-
- ;======================================================================
- ; 0x180 <- yuv mode
- ; 0x10 <- rgb 16 mode
- ; 0x18 <- rgb 24 mode
- ; Init this variable go to vid_scn_outputcntl
- ;======================================================================
- _vcx_scn_colormode 0x10
- ;======================================================================
- ; Screen horizontal scaling coefficients assignment
- ;======================================================================
- _vcx_scn_bank1_cd 0x115e
- _vcx_scn_bank2_cd 0x2158
- _vcx_scn_bank3_cd 0x3549
- _vcx_scn_bank4_cd 0x0249
- _vcx_scn_bank5_cd 0x0758
-
- _vcx_scn_bank1_ef 0x1100
- _vcx_scn_bank2_ef 0x0700
- _vcx_scn_bank3_ef 0x0200
- _vcx_scn_bank4_ef 0x3500
- _vcx_scn_bank5_ef 0x2100
-
- _vcx_scn_bank1_ab 0x0
- _vcx_scn_bank2_ab 0x0
- _vcx_scn_bank3_ab 0x0
- _vcx_scn_bank4_ab 0x0
- _vcx_scn_bank5_ab 0x0
-
- _vcx_scn_bank1_gx 0x0
- _vcx_scn_bank2_gx 0x0
- _vcx_scn_bank3_gx 0x0
- _vcx_scn_bank4_gx 0x0
- _vcx_scn_bank5_gx 0x0
-
- _vcx_timer_val 33000 ; PCI bus frequenz in kHz (equal to 33 Mhz bus rate)
-
- _vcx_audio_ioport 0x20
- _vcx_audio_reset 0x28
- _PictureRate 0
- _BitRate 0
- _birate_index 0
- _HorizSz 0
- _VertSz 0
- }
-